package com.hrt.datasender.mq.model;

import javax.jms.Destination;
import javax.jms.JMSException;
import javax.jms.Message;
import java.io.Serializable;
import java.util.Enumeration;

/**
 * Created by Chance on 2017/11/2.
 */
public abstract class MqModel implements Serializable, Message {
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    public static final int MODEL_TYPE_PACKET = 0;
    public static final int MODEL_TYPE_LOG = 1;
    public static final int MODEL_TYPE_DRIVE = 2;

    public abstract int getMqModelType();

    @Override
    public void acknowledge() throws JMSException {

    }

    @Override
    public void clearBody() throws JMSException {

    }

    @Override
    public void clearProperties() throws JMSException {

    }

    @Override
    public boolean getBooleanProperty(String str) throws JMSException {
        return false;
    }

    @Override
    public byte getByteProperty(String str) throws JMSException {
        return 0;
    }

    @Override
    public double getDoubleProperty(String str) throws JMSException {
        return 0;
    }

    @Override
    public float getFloatProperty(String str) throws JMSException {
        return 0;
    }

    @Override
    public int getIntProperty(String str) throws JMSException {
        return 0;
    }

    @Override
    public String getJMSCorrelationID() throws JMSException {
        return null;
    }

    @Override
    public byte[] getJMSCorrelationIDAsBytes() throws JMSException {
        return new byte[0];
    }

    @Override
    public int getJMSDeliveryMode() throws JMSException {
        return 0;
    }

    @Override
    public Destination getJMSDestination() throws JMSException {
        return null;
    }

    @Override
    public long getJMSExpiration() throws JMSException {
        return 0;
    }

    @Override
    public String getJMSMessageID() throws JMSException {
        return null;
    }

    @Override
    public int getJMSPriority() throws JMSException {
        return 0;
    }

    @Override
    public boolean getJMSRedelivered() throws JMSException {
        return false;
    }

    @Override
    public Destination getJMSReplyTo() throws JMSException {
        return null;
    }

    @Override
    public long getJMSTimestamp() throws JMSException {
        return 0;
    }

    @Override
    public String getJMSType() throws JMSException {
        return null;
    }

    @Override
    public long getLongProperty(String str) throws JMSException {
        return 0;
    }

    @Override
    public Object getObjectProperty(String str) throws JMSException {
        return null;
    }

    @SuppressWarnings("rawtypes")
    @Override
    public Enumeration getPropertyNames() throws JMSException {
        return null;
    }

    @Override
    public short getShortProperty(String str) throws JMSException {
        return 0;
    }

    @Override
    public String getStringProperty(String str) throws JMSException {
        return null;
    }

    @Override
    public boolean propertyExists(String str) throws JMSException {
        return false;
    }

    @Override
    public void setBooleanProperty(String str, boolean bool) throws JMSException {

    }

    @Override
    public void setByteProperty(String str, byte bool) throws JMSException {

    }

    @Override
    public void setDoubleProperty(String str, double val) throws JMSException {

    }

    @Override
    public void setFloatProperty(String str, float val) throws JMSException {

    }

    @Override
    public void setIntProperty(String str, int in) throws JMSException {

    }

    @Override
    public void setJMSCorrelationID(String str) throws JMSException {

    }

    @Override
    public void setJMSCorrelationIDAsBytes(byte[] bytes) throws JMSException {

    }

    @Override
    public void setJMSDeliveryMode(int in) throws JMSException {

    }

    @Override
    public void setJMSDestination(Destination destination) throws JMSException {

    }

    @Override
    public void setJMSExpiration(long lon) throws JMSException {

    }

    @Override
    public void setJMSMessageID(String str) throws JMSException {

    }

    @Override
    public void setJMSPriority(int in) throws JMSException {

    }

    @Override
    public void setJMSRedelivered(boolean bool) throws JMSException {

    }

    @Override
    public void setJMSReplyTo(Destination destination) throws JMSException {

    }

    @Override
    public void setJMSTimestamp(long lon) throws JMSException {

    }

    @Override
    public void setJMSType(String str) throws JMSException {

    }

    @Override
    public void setLongProperty(String str, long lon) throws JMSException {

    }

    @Override
    public void setObjectProperty(String str, Object obj) throws JMSException {

    }

    @Override
    public void setShortProperty(String str, short sho) throws JMSException {

    }

    @Override
    public void setStringProperty(String str1, String str2) throws JMSException {

    }
}
